home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
util
/
misc
/
zkick301.lzh
/
killzkick.asm
< prev
next >
Wrap
Assembly Source File
|
1991-07-10
|
533b
|
35 lines
*
* Zkick V3.01 -- Copyright (C) 1991 by Daniel Zenchelsky
*
* This program may be freely copied, as long as all copyright
* notices are left intact and unchanged.
*
SECTION code
XREF _ColdReboot
ExecBase EQU $4
;
; Offsets from ExecBase
;
KickMemPtr EQU $222
KickTagPtr EQU $226
WarmCapture EQU 50
CoolCapture EQU 46
ColdCapture EQU 42
move.l ExecBase,a6
clr.l ColdCapture(a6)
clr.l CoolCapture(a6)
clr.l WarmCapture(a6) ; Clear vectors and reboot
clr.l KickTagPtr(a6)
clr.l KickMemPtr(a6)
jmp _ColdReboot
END